首页>代码>基于ssm框架的微信小程序图书管理系统>/图书管理系统pw/项目三 - 副本/StuBook5/src/com/client/controller/ApiBookTypeController.java
package com.client.controller; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.client.utils.JsonResult; import com.client.utils.JsonResultBuilder; import com.pan.pojo.BookType; import com.pan.service.BookTypeService; @RestController @RequestMapping("/api/bookType") public class ApiBookTypeController { @Resource BookTypeService bookTypeService; @RequestMapping(value="/listAll",method=RequestMethod.POST) public JsonResult list(String barcode,String bookName,@ModelAttribute("bookTypeObj") BookType bookTypeObj,String publishDate,Integer page,Integer rows, Model model, HttpServletRequest request,HttpServletResponse response) throws Exception{ List<BookType> bookTypeList = bookTypeService.queryAllBookType(); return JsonResultBuilder.ok(bookTypeList); } }
最近下载更多
amayaT LV5
4月23日
ewan007 LV29
3月4日
Lyj 329511 LV4
2023年10月11日
348835269 LV11
2023年9月26日
dzlwindy LV8
2023年7月12日
小屁孩 LV7
2023年6月2日
ericxu1116 LV24
2023年5月28日
高腾达 LV3
2023年5月26日
xiaoliangPIp LV3
2023年4月27日
sunlzh888888 LV28
2023年4月26日